<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../WEB-INF/includes/templates/templateAuthenticated.xhtml">
    <ui:define name="content">

        <style>

            .top-bar2{
                border: 1px solid #eeeeee;
            }
        </style>    
        <div id="main" style="min-height:600px;width: auto;max-width:1400px;min-width: 1200px;" >
            <br/>
            <br/>
            <br/>
            <br/>
            <h:form  id="registeredchips_form">

                <section  id="services" class="services" >
                    <div class="row" data-view="services">
                        <div class="small-11 large-12 small-centered columns">
                            <div class="row">
                                <div class="columns large-10 large-centered">
                                    <section  class="headline">
                                        <h2 style="text-align:left;">
                                           
                                            #{messages['page.inquireChipsRegistred.tittle1']}
                                        </h2>
                                        <h5 class="subheader" style="text-align:left;">
                                            #{tittles['page.index.descrpServicios']}
                                        </h5>
                                    </section>
                                </div>
                            </div>
                            <div class="row">
                                <div class="columns large-10 large-centered">
                                    <p:dataTable id="registeredchips_datatable" 
                                                 style="font-family:'Open sans',sans-serif;"
                                                 paginator="true" 
                                                 rows="10"  
                                                 value="#{inquireChipsRegistredBean.uscoChipList}" var="qlist"
                                                 paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
                                                 rowsPerPageTemplate="5,10,15">
                                        

                                        <p:column headerText="#{labels['page.inquireChipsRegistred.chipnumber']}" >
                                            <!--<h:outputText value="{qlist.chipNumber}" /> -->
                                            <h:outputText value="#{qlist.uscochipPK.ucchcodi}" /> 
                                        </p:column>
                                        <!--
                                        <p:column headerText="Matricula Inmobiliaria" >
                                            <h:outputText value="{qlist.inmobRegistryNumber}" /> 
                                        </p:column>
                                        <p:column headerText="Direccion Predio" >
                                            <h:outputText value="{qlist.inmobAddressNumber}" /> 
                                        </p:column>
                                        -->
                                        <p:column headerText="#{labels['page.inquireChipsRegistred.action']}" >
                                            <div align="center">
                                            <h:commandLink value="#{labels['page.general.select']}" title="#{labels['page.inquireChipsRegistred.viewtatement']}" action="#{inquireChipsRegistredBean.getEstadoCuenta(qlist.uscochipPK.ucchcodi,null,null)}" ></h:commandLink>
                                            </div>
                                        </p:column>
                                        <f:facet name="footer">
                                        </f:facet>
                                    </p:dataTable>
                                </div>
                            </div>
                            <div class="row">
                                <div class="columns large-10 large-centered">
                                    <br/>
                                    <br/>
                                    
                                    <br/>
                                </div>
                                
                            </div>
                        </div>
                    </div>
                </section>



            </h:form>
        </div>
    </ui:define>
</ui:composition>